widget: Keep a widget reference around _gtk_widget_run_controllers()
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 6 May 2014 13:25:31 +0000 (15:25 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:29 +0000 (19:54 +0200)
commitf0940c962fe3df73cd15bd0d9de92e85158e37d5
tree5c018666723d7debb9bf342eec80ad6e324759a7
parentdb55f8a4e54f6151b6d64bb2dd030fd19e5c269e
widget: Keep a widget reference around _gtk_widget_run_controllers()

The widget may be destroyed within the loop, in reaction to the signals
sent by the controllers. Protect against that.
gtk/gtkwidget.c